package com.example.lin.day9_28;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity {

    @BindView(R.id.tv_show)
    TextView tv;

    @OnClick(R.id.btn_show)
    public void click(View v){
        Toast.makeText(this, "点击到了按钮", Toast.LENGTH_SHORT).show();
    }

    @OnClick(R.id.btn_abc)
    public void abc(View v){
        Toast.makeText(this, "点击到了按钮abc", Toast.LENGTH_SHORT).show();
    }


    private int age;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.init(this);


        tv.setText("啦啦啦啦啦啦,啦啦啦啦啦");
    }


}
